package com.example.looptask;

import java.util.List;

/**
 * 汽车批处理任务
 *
 * @author 江黎
 * @since 2022-10-10
 */
public class CatPrintTask extends AbstractCustomTask<Cat> {

    public CatPrintTask(String taskName, Integer size, List<Cat> list) {
        super(taskName, size, list);
    }

    @Override
    void doProcessData(List<Cat> list) {
        System.out.println("list.size=" + list.size() + " " + list + ",ThreadName:" + Thread.currentThread().getName());
    }
}
